<template>
	<view>
		
		<view class="baohan">
				<text class="biaoti">注册</text>
				<view class="geshi">
					<view class="fangkuang">
						<text class="biaoqian">请输入用户名</text>
						<input type="text" class="shuru" placeholder="用户名">
					</view>
					<view class="fangkuang">
						<text class="biaoqian">请输入密码</text>
						<input type="password" class="shuru" placeholder="密码">
					</view>
					<view class="fangkuang">
						<text class="biaoqian">请确认密码</text>
						<input type="password" class="shuru" placeholder="确认密码">
					</view>
					<button class="anniu zhuceleixing">注册</button>
					<text class="lianjie" @click="goDetailPage('login')">已有账号？去登陆</text>
				</view>
			</view>
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetailPage(e){
				if(typeof e === 'string')
				{
					uni.navigateTo({
						url: '/pages/components/' + e + '/' + e
					});
				}else {
					uni.navigateTo({
						url: e.url
					});
				}
			}
		}
	}
</script>

<style>

</style>
